JMFrameMouseOver
Passes a mouse-over event to a frame.
OSStatus JMFrameMouseOver ( JMFrameRef frame, Point localPos, short modifiers);
frame
- The frame containing the mouse. This should be the active frame.
localPos
- The position of the mouse in frame coordinates.
modifiers
- Any keyboard modifiers from the
EventRecord
structure. See Inside Macintosh: Macintosh Toolbox Essentials, for more information about theEventRecord
data structure.- function result
- A result code; see "JManager Result Codes".
DISCUSSION
To monitor the position of the mouse, you should call theJMFrameMouseOver
andJMIdle
functions each time through the event loop. Note that the client application must keep track of the currently active frame.